import {
	createSSRApp
} from "vue";
import App from "./App.vue";
import uviewPlus from 'uview-plus'
import store from './store/index.js'
import { initPlatform } from "./utils/platform.js"
import { initRequest } from './config/request/index.js'
import 'virtual:uno.css';

export function createApp() {
	const app = createSSRApp(App);
	app.use(uviewPlus)
	app.use(store)
	initPlatform(app)
	initRequest(app)
	return {
		app,
	};
}
